//od_printf("\n\r\n`bright red`Y`red`ou try to steel some food from a supermarket...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
chance=random(100);
if (chance<=busted_ch_food) {
od_printf("\n\r\n");
ny_send_menu(BUSTED,"");
// od_printf("\n\r\n`bright`BUSTED!!!! .... well the police beat the hell out of you .....\n\rWhy don't you try again tomorrow...\n\r");
// od_printf("Ya lost 2%c of yer points!\n\r",37);
cur_user.alive=UNCONCIOUS;
points_loose(cur_user.points*.02);
news_post("stealing food",cur_user.name,"",2);
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
od_exit(10,FALSE);
} else {
chance=random(100);
if (chance<=success_ch_food) {
intval=random(cur_user.hunger+2);
if (cur_user.hunger<intval) intval= cur_user.hunger;
ny_line(115,2,0);
//od_printf("\n\r\n`bright red`Y`red`ou just stole enough so yer hunger went down by %d
od_printf("%d%c",intval,37);
cur_user.hunger-=intval;
points_raise((long)25*cur_user.level);
if(!rip) {
od_disp_str("...\n\r");
WaitForEnter();
} else {
od_disp_str("::^M@OK))|#|#|#\n\r");
od_get_answer("\n\r");
}
} else {
intval=2 * cur_user.level * DrgPtsCoef();
ny_line(116,2,1);
if(rip)
od_get_answer("\n\r");
ny_line(117,0,0);
// od_printf("\n\r\n`bright red`Y`red`ou did not manage to steal anything but did not get busted...\n\r`bright red`Y`red`our points went up by %s\n\r",D_Num(intval));
od_printf("%s",D_Num(intval));
points_raise((long)13*cur_user.level);
if(!rip) {
od_disp_str("\n\r");
WaitForEnter();
} else {
od_disp_str("::^M@OK))|#|#|#\n\r");
od_get_answer("\n\r");
}
}
}
}
}
} while (key!='Q');
}
void
get_laid_ops(void)
{
char key;
long longval;
long intval;
int chance;
char hand[25];
char numstr[26];
char line[80],ovr[80];
FILE *justfile;
FILE *msg_file;
scr_rec urec;
int unum,ret,cnt;
mail_idx_type mail_idx;
long fillen;
do {
key=callmenu("GSBYRPMQ?\n\r",SEX,348,FALSE);
while (expert>0 && key=='?') {
expert+=10;
key=callmenu("GSBYRPMQ?\n\r",SEX,348,FALSE);
expert-=10;
}
if (key=='Y') {
DisplayStats();
WaitForEnter();
}
else if (key=='R') {
if(rip) no_rip_m=1;
if (cur_user.sex_today<=0) {
ny_line(118,2,1);
// od_printf("\n\r\n`bright`You already used up all your sex turns today ...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
ny_line(119,2,1);
// od_printf("\n\r\n`bright red`Y`red`ou look for a victim...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
chance=random(100);
if (chance<=busted_ch_rape) {
od_printf("\n\r\n");
ny_send_menu(BUSTED,"");
//od_printf("\n\r\n`bright`BUSTED!!!! .... well the police beat the hell out of you .....\n\rWhy don't you try again tomorrow...\n\r");
//od_printf("Ya lost 2%c of yer points!\n\r",37);
cur_user.alive=UNCONCIOUS;
points_loose(cur_user.points*.02);
news_post("rape",cur_user.name,"",2);
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
od_exit(10,FALSE);
} else {
chance=random(100);
if (chance<=success_ch_rape) {
if (cur_user.sex==MALE) ny_line(120,2,1);// od_printf("\n\r\n`bright red`Y`red`ou raped some lady and ran away ... `bright red`G`red`ood job ...\n\r");
else ny_line(121,2,1); //od_printf("\n\r\n`bright red`Y`red`ou raped some guy and ran away ... `bright red`G`red`ood job ...\n\r");
cur_user.since_got_laid=0;
cur_user.sex_today--;
illness();
points_raise((long)40*(cur_user.level+1));
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
ny_line(122,2,1);
// od_printf("\n\r\n`bright red`Y`red`ou couldn't find any victim...\n\r");
cur_user.sex_today--;
wrt_sts();
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
}
}
}
}
else if (key=='G') {
if(rip) no_rip_m=1;
if (cur_user.sex_today<=0) {
ny_line(118,2,1);
// od_printf("\n\r\n`bright`You already used up all your sex turns today ...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
chance=random(22);
if (chance<=cur_user.level) {
if (cur_user.sex==MALE) ny_line(123,2,1);// od_printf("\n\r\n`bright red`Y`red`ou scored a pretty nice chick ... `bright red`G`red`ood job ...\n\r");
else ny_line(124,2,1); //od_printf("\n\r\n`bright red`Y`red`ou scored some cool guy ... `bright red`G`red`ood job ...\n\r");
cur_user.since_got_laid=0;
cur_user.sex_today--;
illness();
points_raise((long)50*(cur_user.level+1));
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
ny_line(125,2,1);
// od_printf("\n\r\n`bright red`Y`red`ou couldn't find anybody who'd like you...\n\r");
if(rip)
od_get_answer("\n\r");
ny_line(126,0,1);
// od_printf("`bright red`T`red`he sex turns went down anyway...\n\r");
cur_user.sex_today--;
wrt_sts;
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
}
}
}
else if (key=='P') {
if(rip) no_rip_m=1;
if (cur_user.sex_today<=0) {
ny_line(118,2,1);
// od_printf("\n\r\n`bright`You already used up all your sex turns today ...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
intval=75+(50*cur_user.level);
ny_line(127,2,0);
//od_printf("\n\r\n`bright red`Y`red`ou can get a hooker fer
// od_printf("`bright red`O`red`k there you go...\n\r");
cur_user.since_got_laid=0;
cur_user.sex_today--;
money_minus(intval);
illness();
points_raise((long)25*(cur_user.level+1));
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
}
}
}
}
else if (key=='S') {
if (cur_user.sex_today<=0) {
ny_line(118,2,1);
// od_printf("\n\r\n`bright`You already used up all your sex turns today ...\n\r");
if(!rip)
WaitForEnter();
else {
od_get_answer("\n\r");
no_rip_m=1;
}
} else {
if (cur_user.sex==MALE) ny_line(130,2,0); //od_printf("\n\r\n`bright red`Y`red`ou wanna list all the female players (`bright red`Y`red`/`bright red`N`red`)");
else ny_line(131,2,0); //od_printf("\n\r\n`bright red`Y`red`ou wanna list all the male players (`bright red`Y`red`/`bright red`N`red`)");
key=ny_get_answer("YN");
if(!rip)
od_printf("%c\n\r",key);
else
od_disp_str("\n\r \b\b");
if (key=='Y') {
if (cur_user.sex==MALE) ListPlayersS(FEMALE); else ListPlayersS(MALE);
od_printf("\n\r");
}
if(rip) od_send_file("TFRAME3.RIP");
ny_line(132,1,0);
// od_printf("\n\r\n`bright red`W`red`ho ya wanna screw (`bright red`full`red` or `bright red`partial`red` name):`bright green`");
//od_printf("\n\r\n`bright green`H`green`ow much ya want to deposit? (`bright blue`Enter`green`=`bright green`[0]`green`, `bright blue`M`green`=max `bright green`
//`red` in the bank...\n\r",D_Num(cur_user.bank));
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
}
else if (key=='W') { ///widthraw from bank
med=ULONG_MAX-cur_user.bank;
if (med<=cur_user.money)
intval=med;
else
intval=cur_user.bank;
if(rip) {
od_send_file("input.rip");
}
ny_line(150,2,0);
//od_printf("\n\r\n`bright green`H`green`ow much ya want to widthraw? (`bright blue`Enter`green`=`bright green`[0]`green`, `bright blue`M`green`=max `bright green`